package org.byqh.dqeai.entity.proxy;

import com.easy.query.core.expression.parser.core.available.TableAvailable;
import com.easy.query.core.proxy.AbstractProxyEntity;
import com.easy.query.core.proxy.SQLColumn;
import com.easy.query.core.proxy.SQLSelectAsExpression;
import com.easy.query.core.proxy.fetcher.AbstractFetcher;
import com.easy.query.core.proxy.core.EntitySQLContext;
import org.byqh.dqeai.entity.SysAppSetupTemplate;
import com.easy.query.core.proxy.columns.types.SQLStringTypeColumn;
import com.easy.query.core.proxy.columns.types.SQLLocalDateTimeTypeColumn;

/**
 * this file automatically generated by easy-query, don't modify it
 * 当前文件是easy-query自动生成的请不要随意修改
 * 如果出现属性冲突请使用@ProxyProperty进行重命名
 *
 * @author easy-query
 */
public class SysAppSetupTemplateProxy extends AbstractProxyEntity<SysAppSetupTemplateProxy, SysAppSetupTemplate> {

    private static final Class<SysAppSetupTemplate> entityClass = SysAppSetupTemplate.class;

    public static final SysAppSetupTemplateProxy TABLE = createTable().createEmpty();

    public static SysAppSetupTemplateProxy createTable() {
        return new SysAppSetupTemplateProxy();
    }

    public SysAppSetupTemplateProxy() {
    }

    /**
     * 应用ID
     * {@link SysAppSetupTemplate#getAppId}
     */
    public SQLStringTypeColumn<SysAppSetupTemplateProxy> appId() {
        return getStringTypeColumn("appId");
    }

    /**
     * 应用名称
     * {@link SysAppSetupTemplate#getAppName}
     */
    public SQLStringTypeColumn<SysAppSetupTemplateProxy> appName() {
        return getStringTypeColumn("appName");
    }

    /**
     * 应用英文名
     * {@link SysAppSetupTemplate#getAppEName}
     */
    public SQLStringTypeColumn<SysAppSetupTemplateProxy> appEName() {
        return getStringTypeColumn("appEName");
    }

    /**
     * 应用版本号
     * {@link SysAppSetupTemplate#getAppVer}
     */
    public SQLStringTypeColumn<SysAppSetupTemplateProxy> appVer() {
        return getStringTypeColumn("appVer");
    }

    /**
     * {@link SysAppSetupTemplate#getTemplateId}
     */
    public SQLStringTypeColumn<SysAppSetupTemplateProxy> templateId() {
        return getStringTypeColumn("templateId");
    }

    /**
     * 应用名称
     * {@link SysAppSetupTemplate#getTemplateName}
     */
    public SQLStringTypeColumn<SysAppSetupTemplateProxy> templateName() {
        return getStringTypeColumn("templateName");
    }

    /**
     * X86,X64
     * {@link SysAppSetupTemplate#getPlatform}
     */
    public SQLStringTypeColumn<SysAppSetupTemplateProxy> platform() {
        return getStringTypeColumn("platform");
    }

    /**
     * {@link SysAppSetupTemplate#getRunAppName}
     */
    public SQLStringTypeColumn<SysAppSetupTemplateProxy> runAppName() {
        return getStringTypeColumn("runAppName");
    }

    /**
     * {@link SysAppSetupTemplate#getRunAppArgs}
     */
    public SQLStringTypeColumn<SysAppSetupTemplateProxy> runAppArgs() {
        return getStringTypeColumn("runAppArgs");
    }

    /**
     * {@link SysAppSetupTemplate#getRunAppStyle}
     */
    public SQLStringTypeColumn<SysAppSetupTemplateProxy> runAppStyle() {
        return getStringTypeColumn("runAppStyle");
    }

    /**
     * {@link SysAppSetupTemplate#getRunAppType}
     */
    public SQLStringTypeColumn<SysAppSetupTemplateProxy> runAppType() {
        return getStringTypeColumn("runAppType");
    }

    /**
     * {@link SysAppSetupTemplate#getRunAppShortcut}
     */
    public SQLStringTypeColumn<SysAppSetupTemplateProxy> runAppShortcut() {
        return getStringTypeColumn("runAppShortcut");
    }

    /**
     * {@link SysAppSetupTemplate#getRunAppDbid}
     */
    public SQLStringTypeColumn<SysAppSetupTemplateProxy> runAppDbid() {
        return getStringTypeColumn("runAppDbid");
    }

    /**
     * {@link SysAppSetupTemplate#getUpdateUrl}
     */
    public SQLStringTypeColumn<SysAppSetupTemplateProxy> updateUrl() {
        return getStringTypeColumn("updateUrl");
    }

    /**
     * {@link SysAppSetupTemplate#getCreateDate}
     */
    public SQLLocalDateTimeTypeColumn<SysAppSetupTemplateProxy> createDate() {
        return getLocalDateTimeTypeColumn("createDate");
    }

    /**
     * {@link SysAppSetupTemplate#getCreateUserId}
     */
    public SQLStringTypeColumn<SysAppSetupTemplateProxy> createUserId() {
        return getStringTypeColumn("createUserId");
    }

    /**
     * 最后更新的日期
     * {@link SysAppSetupTemplate#getUpdateDate}
     */
    public SQLLocalDateTimeTypeColumn<SysAppSetupTemplateProxy> updateDate() {
        return getLocalDateTimeTypeColumn("updateDate");
    }

    /**
     * {@link SysAppSetupTemplate#getUpdateUserId}
     */
    public SQLStringTypeColumn<SysAppSetupTemplateProxy> updateUserId() {
        return getStringTypeColumn("updateUserId");
    }

    @Override
    public Class<SysAppSetupTemplate> getEntityClass() {
        return entityClass;
    }

    /**
     * 数据库列的简单获取
     *
     * @return
     */
    public SysAppSetupTemplateProxyFetcher FETCHER = new SysAppSetupTemplateProxyFetcher(this, null, SQLSelectAsExpression.empty);

    public static class SysAppSetupTemplateProxyFetcher extends AbstractFetcher<SysAppSetupTemplateProxy, SysAppSetupTemplate, SysAppSetupTemplateProxyFetcher> {

        public SysAppSetupTemplateProxyFetcher(SysAppSetupTemplateProxy proxy, SysAppSetupTemplateProxyFetcher prev, SQLSelectAsExpression sqlSelectAsExpression) {
            super(proxy, prev, sqlSelectAsExpression);
        }

        /**
         * 应用ID
         * {@link SysAppSetupTemplate#getAppId}
         */
        public SysAppSetupTemplateProxyFetcher appId() {
            return add(getProxy().appId());
        }

        /**
         * 应用名称
         * {@link SysAppSetupTemplate#getAppName}
         */
        public SysAppSetupTemplateProxyFetcher appName() {
            return add(getProxy().appName());
        }

        /**
         * 应用英文名
         * {@link SysAppSetupTemplate#getAppEName}
         */
        public SysAppSetupTemplateProxyFetcher appEName() {
            return add(getProxy().appEName());
        }

        /**
         * 应用版本号
         * {@link SysAppSetupTemplate#getAppVer}
         */
        public SysAppSetupTemplateProxyFetcher appVer() {
            return add(getProxy().appVer());
        }

        /**
         * {@link SysAppSetupTemplate#getTemplateId}
         */
        public SysAppSetupTemplateProxyFetcher templateId() {
            return add(getProxy().templateId());
        }

        /**
         * 应用名称
         * {@link SysAppSetupTemplate#getTemplateName}
         */
        public SysAppSetupTemplateProxyFetcher templateName() {
            return add(getProxy().templateName());
        }

        /**
         * X86,X64
         * {@link SysAppSetupTemplate#getPlatform}
         */
        public SysAppSetupTemplateProxyFetcher platform() {
            return add(getProxy().platform());
        }

        /**
         * {@link SysAppSetupTemplate#getRunAppName}
         */
        public SysAppSetupTemplateProxyFetcher runAppName() {
            return add(getProxy().runAppName());
        }

        /**
         * {@link SysAppSetupTemplate#getRunAppArgs}
         */
        public SysAppSetupTemplateProxyFetcher runAppArgs() {
            return add(getProxy().runAppArgs());
        }

        /**
         * {@link SysAppSetupTemplate#getRunAppStyle}
         */
        public SysAppSetupTemplateProxyFetcher runAppStyle() {
            return add(getProxy().runAppStyle());
        }

        /**
         * {@link SysAppSetupTemplate#getRunAppType}
         */
        public SysAppSetupTemplateProxyFetcher runAppType() {
            return add(getProxy().runAppType());
        }

        /**
         * {@link SysAppSetupTemplate#getRunAppShortcut}
         */
        public SysAppSetupTemplateProxyFetcher runAppShortcut() {
            return add(getProxy().runAppShortcut());
        }

        /**
         * {@link SysAppSetupTemplate#getRunAppDbid}
         */
        public SysAppSetupTemplateProxyFetcher runAppDbid() {
            return add(getProxy().runAppDbid());
        }

        /**
         * {@link SysAppSetupTemplate#getUpdateUrl}
         */
        public SysAppSetupTemplateProxyFetcher updateUrl() {
            return add(getProxy().updateUrl());
        }

        /**
         * {@link SysAppSetupTemplate#getCreateDate}
         */
        public SysAppSetupTemplateProxyFetcher createDate() {
            return add(getProxy().createDate());
        }

        /**
         * {@link SysAppSetupTemplate#getCreateUserId}
         */
        public SysAppSetupTemplateProxyFetcher createUserId() {
            return add(getProxy().createUserId());
        }

        /**
         * 最后更新的日期
         * {@link SysAppSetupTemplate#getUpdateDate}
         */
        public SysAppSetupTemplateProxyFetcher updateDate() {
            return add(getProxy().updateDate());
        }

        /**
         * {@link SysAppSetupTemplate#getUpdateUserId}
         */
        public SysAppSetupTemplateProxyFetcher updateUserId() {
            return add(getProxy().updateUserId());
        }

        @Override
        protected SysAppSetupTemplateProxyFetcher createFetcher(SysAppSetupTemplateProxy cp, AbstractFetcher<SysAppSetupTemplateProxy, SysAppSetupTemplate, SysAppSetupTemplateProxyFetcher> prev, SQLSelectAsExpression sqlSelectExpression) {
            return new SysAppSetupTemplateProxyFetcher(cp, this, sqlSelectExpression);
        }
    }
}
